package com.javafx.paintcontrol;

import javafx.scene.control.Control;

public class PaintControl extends Control{
	private String DEFAULT_STYLE_CLASS="paint-control";
	
	public PaintControl(){
		getStyleClass().setAll(new String[] { DEFAULT_STYLE_CLASS });
	}
	
	/**
	 * Return the path to the CSS file so things are setup right
	 */
	@Override 
	protected String getUserAgentStylesheet()	{
		return this.getClass().getResource(this.getClass().getSimpleName() + ".css").toString();
	}
}
